Leat\Domain\Syncing\SyncVouchers A

Total Complexity 56
Dependencies 9
Dependents 4
Total lines 583
Lines of code 359
Logical lines of code 162
Comment lines 92
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
upsert_coupon_for_promotion_rule()
B
33 19 98
queue_vouchers_for_promotion()
S
44 4 52
handle_voucher_created_webhook()
S
49 5 35
handle_voucher_redeemed_webhook()
S
49 5 32
format_voucher_webhook()
S
58 5 15
start_sync()
S
50 4 28
task()
S
48 3 38
handle_voucher_updated_webhook()
S
54 4 22
handle_voucher_deleted_webhook()
S
59 2 15
sync_vouchers_to_woocommerce()
S
70 2 6
__construct()
S
69 1 7
init()
S
67 1 7
completed()
S
77 1 4